package com.woniu.bh.common.core.domain.backstage;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxb
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bh_platform_flows")
public class PlatformFlows implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 资金流水id
     */
    @TableId(value = "platform_flows_id", type = IdType.AUTO)
    private Integer platformFlowsId;

    /**
     * 平台分成的资金
     */
    private Double platformFlowsPlatformMoney;

    /**
     * 分成的美容馆id
     */
    private Integer platformFlowsBeautysalonId;

    /**
     * 美容馆分成的金额
     */
    private Double platformFlowsBeautysalonMoney;

    /**
     * 分成的美容师id
     */
    private Integer platformFlowsTechnicianId;

    /**
     * 美容师分成的金额
     */
    private Double platformFlowsTechnicianMoney;

    /**
     * 消费的用户id
     */
    private Integer platformFlowsCustomerId;

    /**
     * 用户消费总金额
     */
    private Double platformFlowsCustomerMoney;

    /**
     * 流水生成时间
     */
    private Long platformFlowsTime;

    /**
     * 用户服务类型 1表示用户从美容馆获取服务 2表示用户从美容师获取服务
     */
    private String platformFlowsServiceType;


}
